/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-05-25 16:45:34
 * @LastEditTime: 2024-06-22 17:40:44
 * @FilePath: /nest_study/src/modules/system/dept/dept.module.ts
 */
import { Module } from '@nestjs/common';
import { DeptService } from './dept.service';
import { DeptController } from './dept.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SystemDeptEntity } from './entities/dept.entity';
import { SystemUserEntity } from '../user/entities/user.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      SystemDeptEntity,
      SystemUserEntity
    ]),
  ],
  controllers: [DeptController],
  providers: [DeptService],
})
export class DeptModule {}
